package com.share.example.sbsjw.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/*
 *
 * 这里使用了baomidou插件,TableName,TableId,TableField是基本注解
 *
 * */
@Data
@ApiModel("")
@TableName("st_order")
public class StOrder implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private Long userId;

    private String type;

    private String data;

    @TableField("create_time")
    private Date createTime;
}
